package HP;

public class JieCheng {
    public static void main(String[] args) {
/*        int n = 4;
        int sum = 1;
        for (int i = 1; i <=n ; i++) {
            sum = sum*i;
        }
        System.out.println("sum = " + sum);*/

       double zi = 2.00;
       double mu = 1.00;
       double sum = 0.00;
       double temp;
        for (int i = 1; i <= 2; i++) {
            sum =sum+ zi/mu;
            temp = zi;
            zi = zi+mu;
            mu = temp;
        }
        System.out.println("sum = " + sum);
        double a = 3.00/2.00;
        System.out.println(a);
    }
}
